package com.love.cloud.admin.dto;

import com.love.cloud.admin.api.entity.SysDept;
import com.love.cloud.admin.api.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author hongdongqu
 */
@Data
@ApiModel(value = "本地用户树数据")
public class LocalUserTreeDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组织code")
    private String orgCode;

    @ApiModelProperty(value = "组织名称")
    private String orgName;

    @ApiModelProperty(value = "组织信息")
    private SysDept orgInfo;

    @ApiModelProperty(value = "用户数据")
    private List<SysUser> userList=new ArrayList<>();

    @ApiModelProperty(value = "组织数据")
    private List<SysDept> orgList=new ArrayList<>();
}
